Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next

Here is the example straight from Domino Designer Help

Basically you need to create the Body field as RichText and then append the doclink from the doc you want.

This script creates a new NotesRichTextItem called "Body" on a mail memo. It uses the AppendDocLink method to place a doclink to the current document in the Body, and the Send method to mail the memo to Frank Glennel.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim memo As NotesDocument
Dim rtitem As NotesRichTextItem
Set db = session.CurrentDatabase
'...set value of doc...
Set memo = New NotesDocument( db )
Set rtitem = New NotesRichTextItem( memo, "Body" )
Call rtitem.AppendDocLink( doc, db.Title )
memo.Subject = "Here's a link to the document"
Call memo.Send( False, "Frank Glennel" )


Feedback response number CTYR9M4SXG created by ~Mark Bubnitexader on 07/17/2014

Adding doc link to doc.send (~Rebecca Opfoog... 17.Jul.14)
. . Here is the example straight from D... (~Fritz Ekfoober... 17.Jul.14)
. . . . Perfect, Thanks!!! (~Rebecca Opfoog... 18.Jul.14)
. . . . . . Post your code. (~Fritz Ekfoober... 18.Jul.14)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS